<pagination on-select-page="setPage(page)"
            ng-show="objects"
            rotate="false"
            total-items="totalItems"
            page="currentPage"
            max-size="maxSize"
            boundary-links="true"
            previous-text="Previous"
            next-text="Next"
            first-text="First"
            last-text="Last"></pagination>